all: oj_server oj_server_user

oj_server:oj_server.cc
	g++ -o $@ $^ -I./include -L./lib  -std=c++17 -lpthread -lctemplate -ljsoncpp -lmysqlclient -lboost_system -lboost_thread

oj_server_user:oj_server_user.cc
	g++ -o $@ $^ -I./include -L./lib  -std=c++17 -lpthread -lctemplate -ljsoncpp -lmysqlclient -lboost_system -lboost_thread

.PHONY:clean
clean:
	rm -f oj_server
	rm -f oj_server_user